function Collect() {
    
}

Collect.prototype = {
    constructor : Collect,

    classChange : function () {
        console.log($(".change"));
        $(".change").each(function (i) {
            console.log(1);
            $(".change").eq(i).on("click",function () {
                console.log($(this));
                $(".change").children().children().first().next().attr("class","glyphicon glyphicon-chevron-down");
                $(this).children().children().first().next().attr("class","glyphicon glyphicon-chevron-up");
            })
        })
    }
};
